package com.gk.feignclients;

import org.springframework.context.annotation.Configuration;

/**
 * 自定义 HystrixClient 默认备选处理方案
 */
@Configuration
public class HystrixClientFallBack implements HystrixClient {
    @Override
    public String demo(Integer id) {
        return "当前服务不可用，请稍后再试！id:" + id;
    }
}
